package com.whu.zqm.myioc.beanshuxing;

public class BeanDefinition {
    //bean
    private String id;
    private String className;
    private MutablePropertyValues mutablePropertyValues;


    public BeanDefinition() {
    }

    public BeanDefinition(String id, String className, MutablePropertyValues mutablePropertyValues) {
        this.id = id;
        this.className = className;
        this.mutablePropertyValues = mutablePropertyValues;
    }

    /**
     * 获取
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取
     * @return className
     */
    public String getClassName() {
        return className;
    }

    /**
     * 设置
     * @param className
     */
    public void setClassName(String className) {
        this.className = className;
    }


    public String toString() {
        return "BeanDefination{id = " + id + ", className = " + className + "}";
//        + ", name = " + name + ", ref = " + ref +
    }

    /**
     * 获取
     * @return mutablePropertyValues
     */
    public MutablePropertyValues getMutablePropertyValues() {
        return mutablePropertyValues;
    }

    /**
     * 设置
     * @param mutablePropertyValues
     */
    public void setMutablePropertyValues(MutablePropertyValues mutablePropertyValues) {
        this.mutablePropertyValues = mutablePropertyValues;
    }
}
